﻿<Page 
    x:Class="PerspectiveDemo.Wpf3D.View.InteractivityDemo"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:p="http://www.codeplex.com/perspective"
    Title="Interactivity"
    Style="{StaticResource PageStyle}">
    <p:Workshop3D>
        <p:Box3D 
            MouseEnter="Box3D_MouseEnter"
            MouseLeave="Box3D_MouseLeave">
            <p:Box3D.Transform >
                <RotateTransform3D CenterX="0.5" CenterZ="0.5">
                    <RotateTransform3D.Rotation>
                        <AxisAngleRotation3D 
                            x:Name="boxRotation"    
                            Axis="0.0, 1.0, 0.0"/>
                    </RotateTransform3D.Rotation>
                </RotateTransform3D>
            </p:Box3D.Transform>
        </p:Box3D>
    </p:Workshop3D>
</Page>
